package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class QuestionnaireSubmitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuestionnaireSubmitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAnsweridIsNull() {
            addCriterion("answerId is null");
            return (Criteria) this;
        }

        public Criteria andAnsweridIsNotNull() {
            addCriterion("answerId is not null");
            return (Criteria) this;
        }

        public Criteria andAnsweridEqualTo(Integer value) {
            addCriterion("answerId =", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotEqualTo(Integer value) {
            addCriterion("answerId <>", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridGreaterThan(Integer value) {
            addCriterion("answerId >", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridGreaterThanOrEqualTo(Integer value) {
            addCriterion("answerId >=", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridLessThan(Integer value) {
            addCriterion("answerId <", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridLessThanOrEqualTo(Integer value) {
            addCriterion("answerId <=", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridIn(List<Integer> values) {
            addCriterion("answerId in", values, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotIn(List<Integer> values) {
            addCriterion("answerId not in", values, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridBetween(Integer value1, Integer value2) {
            addCriterion("answerId between", value1, value2, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotBetween(Integer value1, Integer value2) {
            addCriterion("answerId not between", value1, value2, "answerid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIsNull() {
            addCriterion("questionnaireId is null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIsNotNull() {
            addCriterion("questionnaireId is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidEqualTo(Integer value) {
            addCriterion("questionnaireId =", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotEqualTo(Integer value) {
            addCriterion("questionnaireId <>", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidGreaterThan(Integer value) {
            addCriterion("questionnaireId >", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidGreaterThanOrEqualTo(Integer value) {
            addCriterion("questionnaireId >=", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidLessThan(Integer value) {
            addCriterion("questionnaireId <", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidLessThanOrEqualTo(Integer value) {
            addCriterion("questionnaireId <=", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIn(List<Integer> values) {
            addCriterion("questionnaireId in", values, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotIn(List<Integer> values) {
            addCriterion("questionnaireId not in", values, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidBetween(Integer value1, Integer value2) {
            addCriterion("questionnaireId between", value1, value2, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotBetween(Integer value1, Integer value2) {
            addCriterion("questionnaireId not between", value1, value2, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andRespondentidIsNull() {
            addCriterion("respondentId is null");
            return (Criteria) this;
        }

        public Criteria andRespondentidIsNotNull() {
            addCriterion("respondentId is not null");
            return (Criteria) this;
        }

        public Criteria andRespondentidEqualTo(String value) {
            addCriterion("respondentId =", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotEqualTo(String value) {
            addCriterion("respondentId <>", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidGreaterThan(String value) {
            addCriterion("respondentId >", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidGreaterThanOrEqualTo(String value) {
            addCriterion("respondentId >=", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLessThan(String value) {
            addCriterion("respondentId <", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLessThanOrEqualTo(String value) {
            addCriterion("respondentId <=", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLike(String value) {
            addCriterion("respondentId like", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotLike(String value) {
            addCriterion("respondentId not like", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidIn(List<String> values) {
            addCriterion("respondentId in", values, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotIn(List<String> values) {
            addCriterion("respondentId not in", values, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidBetween(String value1, String value2) {
            addCriterion("respondentId between", value1, value2, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotBetween(String value1, String value2) {
            addCriterion("respondentId not between", value1, value2, "respondentid");
            return (Criteria) this;
        }

        public Criteria andStuoptionIsNull() {
            addCriterion("stuOption is null");
            return (Criteria) this;
        }

        public Criteria andStuoptionIsNotNull() {
            addCriterion("stuOption is not null");
            return (Criteria) this;
        }

        public Criteria andStuoptionEqualTo(String value) {
            addCriterion("stuOption =", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionNotEqualTo(String value) {
            addCriterion("stuOption <>", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionGreaterThan(String value) {
            addCriterion("stuOption >", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionGreaterThanOrEqualTo(String value) {
            addCriterion("stuOption >=", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionLessThan(String value) {
            addCriterion("stuOption <", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionLessThanOrEqualTo(String value) {
            addCriterion("stuOption <=", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionLike(String value) {
            addCriterion("stuOption like", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionNotLike(String value) {
            addCriterion("stuOption not like", value, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionIn(List<String> values) {
            addCriterion("stuOption in", values, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionNotIn(List<String> values) {
            addCriterion("stuOption not in", values, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionBetween(String value1, String value2) {
            addCriterion("stuOption between", value1, value2, "stuoption");
            return (Criteria) this;
        }

        public Criteria andStuoptionNotBetween(String value1, String value2) {
            addCriterion("stuOption not between", value1, value2, "stuoption");
            return (Criteria) this;
        }

        public Criteria andIndexscoreIsNull() {
            addCriterion("indexScore is null");
            return (Criteria) this;
        }

        public Criteria andIndexscoreIsNotNull() {
            addCriterion("indexScore is not null");
            return (Criteria) this;
        }

        public Criteria andIndexscoreEqualTo(String value) {
            addCriterion("indexScore =", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreNotEqualTo(String value) {
            addCriterion("indexScore <>", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreGreaterThan(String value) {
            addCriterion("indexScore >", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreGreaterThanOrEqualTo(String value) {
            addCriterion("indexScore >=", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreLessThan(String value) {
            addCriterion("indexScore <", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreLessThanOrEqualTo(String value) {
            addCriterion("indexScore <=", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreLike(String value) {
            addCriterion("indexScore like", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreNotLike(String value) {
            addCriterion("indexScore not like", value, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreIn(List<String> values) {
            addCriterion("indexScore in", values, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreNotIn(List<String> values) {
            addCriterion("indexScore not in", values, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreBetween(String value1, String value2) {
            addCriterion("indexScore between", value1, value2, "indexscore");
            return (Criteria) this;
        }

        public Criteria andIndexscoreNotBetween(String value1, String value2) {
            addCriterion("indexScore not between", value1, value2, "indexscore");
            return (Criteria) this;
        }

        public Criteria andFilltimeIsNull() {
            addCriterion("fillTime is null");
            return (Criteria) this;
        }

        public Criteria andFilltimeIsNotNull() {
            addCriterion("fillTime is not null");
            return (Criteria) this;
        }

        public Criteria andFilltimeEqualTo(String value) {
            addCriterion("fillTime =", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotEqualTo(String value) {
            addCriterion("fillTime <>", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeGreaterThan(String value) {
            addCriterion("fillTime >", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeGreaterThanOrEqualTo(String value) {
            addCriterion("fillTime >=", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLessThan(String value) {
            addCriterion("fillTime <", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLessThanOrEqualTo(String value) {
            addCriterion("fillTime <=", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLike(String value) {
            addCriterion("fillTime like", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotLike(String value) {
            addCriterion("fillTime not like", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeIn(List<String> values) {
            addCriterion("fillTime in", values, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotIn(List<String> values) {
            addCriterion("fillTime not in", values, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeBetween(String value1, String value2) {
            addCriterion("fillTime between", value1, value2, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotBetween(String value1, String value2) {
            addCriterion("fillTime not between", value1, value2, "filltime");
            return (Criteria) this;
        }

        public Criteria andStudentnameIsNull() {
            addCriterion("studentName is null");
            return (Criteria) this;
        }

        public Criteria andStudentnameIsNotNull() {
            addCriterion("studentName is not null");
            return (Criteria) this;
        }

        public Criteria andStudentnameEqualTo(String value) {
            addCriterion("studentName =", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotEqualTo(String value) {
            addCriterion("studentName <>", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameGreaterThan(String value) {
            addCriterion("studentName >", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameGreaterThanOrEqualTo(String value) {
            addCriterion("studentName >=", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLessThan(String value) {
            addCriterion("studentName <", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLessThanOrEqualTo(String value) {
            addCriterion("studentName <=", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLike(String value) {
            addCriterion("studentName like", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotLike(String value) {
            addCriterion("studentName not like", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameIn(List<String> values) {
            addCriterion("studentName in", values, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotIn(List<String> values) {
            addCriterion("studentName not in", values, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameBetween(String value1, String value2) {
            addCriterion("studentName between", value1, value2, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotBetween(String value1, String value2) {
            addCriterion("studentName not between", value1, value2, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIsNull() {
            addCriterion("studentSchool is null");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIsNotNull() {
            addCriterion("studentSchool is not null");
            return (Criteria) this;
        }

        public Criteria andStudentschoolEqualTo(String value) {
            addCriterion("studentSchool =", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotEqualTo(String value) {
            addCriterion("studentSchool <>", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolGreaterThan(String value) {
            addCriterion("studentSchool >", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolGreaterThanOrEqualTo(String value) {
            addCriterion("studentSchool >=", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLessThan(String value) {
            addCriterion("studentSchool <", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLessThanOrEqualTo(String value) {
            addCriterion("studentSchool <=", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLike(String value) {
            addCriterion("studentSchool like", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotLike(String value) {
            addCriterion("studentSchool not like", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIn(List<String> values) {
            addCriterion("studentSchool in", values, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotIn(List<String> values) {
            addCriterion("studentSchool not in", values, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolBetween(String value1, String value2) {
            addCriterion("studentSchool between", value1, value2, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotBetween(String value1, String value2) {
            addCriterion("studentSchool not between", value1, value2, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIsNull() {
            addCriterion("studentCollege is null");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIsNotNull() {
            addCriterion("studentCollege is not null");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeEqualTo(String value) {
            addCriterion("studentCollege =", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotEqualTo(String value) {
            addCriterion("studentCollege <>", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeGreaterThan(String value) {
            addCriterion("studentCollege >", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeGreaterThanOrEqualTo(String value) {
            addCriterion("studentCollege >=", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLessThan(String value) {
            addCriterion("studentCollege <", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLessThanOrEqualTo(String value) {
            addCriterion("studentCollege <=", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLike(String value) {
            addCriterion("studentCollege like", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotLike(String value) {
            addCriterion("studentCollege not like", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIn(List<String> values) {
            addCriterion("studentCollege in", values, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotIn(List<String> values) {
            addCriterion("studentCollege not in", values, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeBetween(String value1, String value2) {
            addCriterion("studentCollege between", value1, value2, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotBetween(String value1, String value2) {
            addCriterion("studentCollege not between", value1, value2, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNull() {
            addCriterion("studentMajor is null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNotNull() {
            addCriterion("studentMajor is not null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorEqualTo(String value) {
            addCriterion("studentMajor =", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotEqualTo(String value) {
            addCriterion("studentMajor <>", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThan(String value) {
            addCriterion("studentMajor >", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThanOrEqualTo(String value) {
            addCriterion("studentMajor >=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThan(String value) {
            addCriterion("studentMajor <", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThanOrEqualTo(String value) {
            addCriterion("studentMajor <=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLike(String value) {
            addCriterion("studentMajor like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotLike(String value) {
            addCriterion("studentMajor not like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIn(List<String> values) {
            addCriterion("studentMajor in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotIn(List<String> values) {
            addCriterion("studentMajor not in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorBetween(String value1, String value2) {
            addCriterion("studentMajor between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotBetween(String value1, String value2) {
            addCriterion("studentMajor not between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentgradeIsNull() {
            addCriterion("studentGrade is null");
            return (Criteria) this;
        }

        public Criteria andStudentgradeIsNotNull() {
            addCriterion("studentGrade is not null");
            return (Criteria) this;
        }

        public Criteria andStudentgradeEqualTo(String value) {
            addCriterion("studentGrade =", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeNotEqualTo(String value) {
            addCriterion("studentGrade <>", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeGreaterThan(String value) {
            addCriterion("studentGrade >", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeGreaterThanOrEqualTo(String value) {
            addCriterion("studentGrade >=", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeLessThan(String value) {
            addCriterion("studentGrade <", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeLessThanOrEqualTo(String value) {
            addCriterion("studentGrade <=", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeLike(String value) {
            addCriterion("studentGrade like", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeNotLike(String value) {
            addCriterion("studentGrade not like", value, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeIn(List<String> values) {
            addCriterion("studentGrade in", values, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeNotIn(List<String> values) {
            addCriterion("studentGrade not in", values, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeBetween(String value1, String value2) {
            addCriterion("studentGrade between", value1, value2, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andStudentgradeNotBetween(String value1, String value2) {
            addCriterion("studentGrade not between", value1, value2, "studentgrade");
            return (Criteria) this;
        }

        public Criteria andWeeknumIsNull() {
            addCriterion("weekNum is null");
            return (Criteria) this;
        }

        public Criteria andWeeknumIsNotNull() {
            addCriterion("weekNum is not null");
            return (Criteria) this;
        }

        public Criteria andWeeknumEqualTo(Integer value) {
            addCriterion("weekNum =", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotEqualTo(Integer value) {
            addCriterion("weekNum <>", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumGreaterThan(Integer value) {
            addCriterion("weekNum >", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumGreaterThanOrEqualTo(Integer value) {
            addCriterion("weekNum >=", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumLessThan(Integer value) {
            addCriterion("weekNum <", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumLessThanOrEqualTo(Integer value) {
            addCriterion("weekNum <=", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumIn(List<Integer> values) {
            addCriterion("weekNum in", values, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotIn(List<Integer> values) {
            addCriterion("weekNum not in", values, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumBetween(Integer value1, Integer value2) {
            addCriterion("weekNum between", value1, value2, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotBetween(Integer value1, Integer value2) {
            addCriterion("weekNum not between", value1, value2, "weeknum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}